home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
program
/
gucrtr13.lha
/
GUICreator1.3
/
GUIC.lha
/
GUICreator
/
Demos
/
Calculator.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-22
|
4KB
|
71 lines
#include "Calculator_Structures.h"
/* Functions created by GUICreator */
#define GADGET_DOWN 0
#define GADGET_UP 1
void ShowGadget(struct Window *win, struct Gadget *gad, int type);
void SleepWindow(struct Window *win);
void WakenWindow(struct Window *win);
void GUIC_ErrorReport(struct Window *win,ULONG type);
void CreateBevelFrames(struct Window *win,APTR visualinfo,ULONG bevelcount,struct BevelFrame bevels[]);
void CreateLines(struct Window *win,int linecount,struct Line lines[]);
void CreateTexts(struct Window *win,int textcount,struct Text texts[],long double xscale,long double yscale);
void About(struct Window *hostwin,struct Gadget **wingads,APTR userdata);
void HandleCalculatorWindow(struct Screen *customscreen,LONG left,LONG top,APTR userdata);
/* Defines for CalculatorWindow */
#define BTID_Gadget1 0
#define BTID_Gadget2 1
#define BTID_Gadget3 2
#define BTID_Gadget4 3
#define BTID_Gadget5 4
#define BTID_Gadget6 5
#define BTID_Gadget7 6
#define BTID_Gadget8 7
#define BTID_Gadget9 8
#define BTID_Gadget10 9
#define BTID_Gadget11 10
#define BTID_Gadget12 11
#define BTID_Gadget13 12
#define BTID_Gadget14 13
#define BTID_Gadget15 14
#define BTID_Gadget16 15
#define BTID_Gadget17 16
#define BTID_Gadget18 17
#define BTID_Gadget19 18
#define BTID_Gadget20 19
#define NBID_Gadget21 20
/* Functions which you must define for CalculatorWindow */
void About(struct Window *win,struct Gadget *wingads[],APTR userdata);
extern void Gadget1Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget2Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget3Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget4Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget5Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget6Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget7Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget8Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget9Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget10Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget11Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget12Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget13Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget14Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget15Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget16Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget17Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget18Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget19Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget20Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
extern void Gadget21Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);